home *** CD-ROM | disk | FTP | other *** search
/ The World's Largest Collection of Windows Software / The World's Largest Collection of Windows Software - Disc 2.iso / win / pro171 / makefile. < prev    next >
Makefile  |  1992-11-17  |  693b  |  32 lines

  1. CFLAGS= -c -I. -Gsw -AS
  2. DFLAGS=
  3. LFLAGS = /map/nod/noe /al:16
  4.  
  5. !IFDEF DEBUG
  6. CFLAGS=$(CFLAGS) -Gs -Zi
  7. DFLAGS=$(DFLAGS) -DDEBUG
  8. LFLAGS=$(LFLAGS) /co
  9. !ENDIF
  10.  
  11. goal: sample3d.exe
  12.  
  13. sample3d.obj: sample3d.c
  14.         cl $(CFLAGS) $(DFLAGS) sample3d.c
  15.  
  16. sample3d.res : sample3d.rc ctls.dlg
  17.         rc -r $(DFLAGS) sample3d.rc
  18.  
  19.  
  20. sample3d.exe : sample3d.res sample3d.obj sample3d.def ctl3d.lib
  21.         link $(LFLAGS) sample3d,sample3d,sample3d,libw slibcew ctl3d commdlg,sample3d.def
  22.         rc $(DFLAGS) sample3d.res
  23.         mapsym sample3d.map
  24.  
  25. # next to godliness
  26. clean:
  27.         -del *.obj
  28.         -del *.res
  29.         -del sample3d.exe
  30.         -del *.map
  31.         -del *.sym
  32.